<script lang="ts">
	//
</script>

<div data-active={false as true}>
	<span></span>
</div>

<style>
	[data-active='true'] > span {
		background-color: red;
	}
</style>
